extends CanvasLayer

@onready var effect: ColorRect = $effect

func _ready() -> void:
	effect.color.a=0.0

func _blueprint_in():
	var tween=create_tween()
	tween.tween_property(effect,"color:a",0.15,0.1)
	return tween

func _blueprint_out():
	var tween=create_tween()
	tween.tween_property(effect,"color:a",0.0,0.1)
	return tween
